package com.ruoyi.shop.mapper;

import java.util.List;
import com.ruoyi.shop.domain.ShopRefundApply;

/**
 * 退款申请Mapper接口
 * 
 * @author Alan Zhang
 * @date 2021-10-02
 */
public interface ShopRefundApplyMapper 
{
    /**
     * 查询退款申请
     * 
     * @param id 退款申请主键
     * @return 退款申请
     */
    public ShopRefundApply selectShopRefundApplyById(Long id);

    /**
     * 查询退款申请列表
     * 
     * @param shopRefundApply 退款申请
     * @return 退款申请集合
     */
    public List<ShopRefundApply> selectShopRefundApplyList(ShopRefundApply shopRefundApply);

    /**
     * 新增退款申请
     * 
     * @param shopRefundApply 退款申请
     * @return 结果
     */
    public int insertShopRefundApply(ShopRefundApply shopRefundApply);

    /**
     * 修改退款申请
     * 
     * @param shopRefundApply 退款申请
     * @return 结果
     */
    public int updateShopRefundApply(ShopRefundApply shopRefundApply);

    /**
     * 删除退款申请
     * 
     * @param id 退款申请主键
     * @return 结果
     */
    public int deleteShopRefundApplyById(Long id);

    /**
     * 批量删除退款申请
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShopRefundApplyByIds(String[] ids);
}
